package com.gxa.modules.pc.hospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.modules.model.entity.hospital.Area;
import com.gxa.modules.model.entity.hospital.City;
import com.gxa.modules.model.entity.hospital.Province;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lst
 * @since 2022-11-19
 */
@Mapper
public interface ProvinceMapper extends BaseMapper<Province> {

    /**
     * 查找所有省份
     */
    public List<Province> getProvinces();

    /**
     * 查找所有市
     */
    public List<City> getCitys(String province);

    /**
     * 查找所有县
     *
     */
    public List<Area> getAreas(String city);
}
